﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Anonimo.Master" AutoEventWireup="true" CodeBehind="Registrar.aspx.cs" Inherits="SuperMercado.Paginas.Conta.Registrar" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphCenter" runat="server">
<div id="content">
<table style="width:294px;" align="center">
        <tr>
            <td style="text-align: center;" colspan="3">
                Formulario para Cadastro</td>
        </tr>
        <tr>
            <td style="width: 129px">
                Email:</td>
            <td>
                <asp:TextBox ID="txtEmail" runat="server" value=1></asp:TextBox>
            </td>
            <td style="width: 24px">
                <asp:RequiredFieldValidator ID="rfvEmail" runat="server" 
                    ControlToValidate="txtEmail" ErrorMessage="Email em branco!">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 129px">
                Senha:</td>
            <td>
                <asp:TextBox ID="txtSenha" runat="server" value=1></asp:TextBox>
            </td>
            <td style="width: 24px">
                
                <asp:RequiredFieldValidator ID="rfvSenha" runat="server" 
                    ControlToValidate="txtSenha" ErrorMessage="Senha em branco!">*</asp:RequiredFieldValidator>
                
            </td>
        </tr>
        <tr>
            <td style="width: 129px">
                Confirmar Senha:</td>
            <td>
                <asp:TextBox ID="txtCSenha" runat="server" value=1></asp:TextBox>
            </td>
            <td style="width: 24px">
                
                <asp:CompareValidator ID="cvSenha" runat="server" ControlToCompare="txtSenha" 
                    ControlToValidate="txtCSenha" ErrorMessage="Senha Diferente">*</asp:CompareValidator>
                
            </td>
        </tr>
        <tr>
            <td style="width: 129px">
                Nome:</td>
            <td>
                <asp:TextBox ID="txtNome" runat="server" value=1></asp:TextBox>
            </td>
            <td style="width: 24px">
                
                <asp:RequiredFieldValidator ID="rfvNome" runat="server" 
                    ControlToValidate="txtNome" ErrorMessage="Nome em branco!">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 129px">
                CPF:</td>
            <td>
                <asp:TextBox ID="txtCPF" runat="server" value=1></asp:TextBox>
            </td>
            <td style="width: 24px">
                
            </td>
        </tr>
        <tr>
            <td style="width: 129px">
                RG:</td>
            <td>
                <asp:TextBox ID="txtRG" runat="server" value=1></asp:TextBox>
            </td>
            <td style="width: 24px">
                
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 129px">
                CEP:</td>
            <td>
                <asp:TextBox ID="txtCEP" runat="server" value=1></asp:TextBox>
            </td>
            <td style="width: 24px">
                <asp:RequiredFieldValidator ID="rfvCEP" runat="server" 
                    ControlToValidate="txtCEP" ErrorMessage="CEP em branco!">*</asp:RequiredFieldValidator>
                </td>
        </tr>
        <tr>
            <td style="width: 129px">
                Numero:</td>
            <td>
                <asp:TextBox ID="txtEndNr" runat="server" value=1></asp:TextBox>
            </td>
            <td style="width: 24px">
                <asp:RequiredFieldValidator ID="rfvNumero" runat="server" 
                    ControlToValidate="txtEndNr" ErrorMessage="Numero em branco!">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 129px">
                Complemento:</td>
            <td>
                <asp:TextBox ID="txtEndCompl" runat="server" value=1></asp:TextBox>
            </td>
            <td style="width: 24px">
                
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 129px">
                Telefone:</td>
            <td>
                <asp:TextBox ID="txtTelefone" runat="server" value=1></asp:TextBox>
            </td>
            <td style="width: 24px">
                
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 129px">
                Celular: </td>
            <td>
                <asp:TextBox ID="txtCelular" runat="server" value=1></asp:TextBox>
            </td>
            <td style="width: 24px">
                
                &nbsp;</td>
        </tr>
        <tr>
            <td style="text-align: center;" colspan="2">
                <asp:Button ID="btnConfirmar" runat="server" onclick="btnConfirmar_Click" 
                    Text="Confirmar" />
            </td>
            <td style="width: 24px; text-align: center;">
                &nbsp;</td>
        </tr>
    </table>


    <asp:ValidationSummary ID="vsRegistrarPessoa" runat="server" ForeColor="Red" />
</div>
</asp:Content>
